package com.bp.village.enums;

import java.util.HashMap;
import java.util.Map;

/**
 * @author shaominjie
 * @description 房屋类资源大类枚举
 * @date 2021/1/29 0029 16:18
 */
public enum EnumsBuildingCategory {
    /** 办公用房及配套附属用房 **/
    OFFICE_BUILDING(0,"办公用房及配套附属用房"),
    /** 经营性用房 **/
    OPERATIONAL_Building(1,"经营性用房"),
    /** 保障性住房 **/
    SECURITY_Building(2,"保障性住房");


    public final static Map<Integer, String> MAP = new HashMap<Integer, String>() {
        {
            put(0,"办公用房及配套附属用房");
            put(1,"经营性用房");
            put(2,"保障性住房");
        }
    };
    private Integer type;
    private String name;

    EnumsBuildingCategory(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
